//
//  UserInfoViewController.h
//  TuiTe
//
//  Created by 张 霄鹤 on 10-4-27.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "User1.h"
#import "ProfileImageProcesser.h"


@interface UserInfoViewController : UIViewController <UITableViewDelegate,UITableViewDataSource, ProfileImageProcesserDelegate>{
	NSString *username;
	User1 *user;
	
	UIImageView *profileImage;
	UILabel     *lblName;
	UILabel     *lblScreenName;
	UILabel     *lblLocation;
	UILabel     *lblLink;
	UILabel     *lblDescription;
	
	UITableView *tb;
}

@property(nonatomic, retain) NSString *username;
@property(nonatomic, retain) User1 *user;

@property (nonatomic, retain) IBOutlet UIImageView *profileImage;
@property (nonatomic, retain) IBOutlet UILabel     *lblName;
@property (nonatomic, retain) IBOutlet UILabel     *lblScreenName;
@property (nonatomic, retain) IBOutlet UILabel     *lblLocation;
@property (nonatomic, retain) IBOutlet UILabel     *lblLink;
@property (nonatomic, retain) IBOutlet UILabel     *lblDescription;
@property (nonatomic, retain) IBOutlet UITableView *tb;

- (void)getUserInfoFromServ:(NSString *)uname;

- (void)refreshInfo;

- (void)followUser:(NSString *)uid;

- (void)unfollowUser:(NSString *)uid;

@end
